package com.situ.mall.pattern.abstractfactory;

public class DellFactory implements IFactory{
    @Override
    public IKeyboard crateKeyboard() {
        // 创建一个Dell的键盘
        return new DellKeyboard();
    }

    @Override
    public IMonitor crateMonitor() {
        return new DellMonitor();
    }

    @Override
    public IMainframe crateMainframe() {
        return new DellMainframe();
    }
}
